package com.zpark.mapper;

import com.zpark.pojo.Person;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @PackageName: com.zpark.mapper
 * @ClassName: IPerson
 * @Description:
 * @author: RZS
 * @date: 2024/3/6  9:36
 */
// @Mapper
public interface IPersonMapper {

    Person selectByUsername(String username);

    @Select("select id, username, password from person where id=#{id}")
    Person selectById(Integer id);
}
